﻿using Mate.Db.Model.Comment;
using Mate.Db.SqlSugar;
using Mate.Dto.Comment;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Comment.Service
{
    public interface IReplyService : IDataService<mp_reply>
    {
        /// <summary>
        /// 获取评论列表
        /// </summary>
        /// <param name="commentid">点评id</param>
        /// <param name="pageIndex">当前页</param>
        /// <param name="pageSize">每页条数</param>
        /// <param name="key">搜索关键字</param>
        /// <param name="totalCount">总条数</param>
        /// <returns></returns>
        IList<ReplyModel> GetReplyList(int commentid,int pageIndex, int pageSize, string key, ref int totalCount);
    }
}
